package com.aispeech.task.lasr.event;

import com.aispeech.task.common.data.domain.Task;
import com.aispeech.task.fsm.Event;
import lombok.extern.slf4j.Slf4j;

@Slf4j
public class InitialEvent extends Event<Task> {
    public InitialEvent(Task task) {
        super(task);
    }

    @Override
    public Event fire() {
        return new DownloadEvent(getTarget());
    }
}
